<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>线上诊断系统后台</title>
</head>
<body>
  <div class="content" style="display:none;">
    <div id="main" class="main">
      <div class="header">
        <img class="logo" src=""
        alt="">
        <span class="logout">退出登录</span>
      </div>
      <div class="body">
        <div id="taskDetail" class="">
          <form class="layui-form" action="">
            <div class="layui-form-item">
              <label class="layui-form-label">姓名</label>
              <div class="layui-input-block">
                <input type="text" name="name" autocomplete="off" class="layui-input" disabled>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">手机</label>
              <div class="layui-input-block">
                <input type="text" name="phone" autocomplete="off" class="layui-input" disabled>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">qq</label>
              <div class="layui-input-block">
                <input type="text" name="qq" autocomplete="off" class="layui-input" disabled>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">课程时间</label>
              <div class="layui-input-block">
                <input type="text" name="date" autocomplete="off" class="layui-input" disabled>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">年级</label>
              <div class="layui-input-block">
                <input type="text" name="grade" autocomplete="off" class="layui-input" disabled>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">科目</label>
              <div class="layui-input-block">
                <input type="text" name="course" autocomplete="off" class="layui-input" disabled>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">诊断结果</label>
              <div class="layui-input-block">
                <textarea name="content" placeholder="请输入内容" class="layui-textarea"></textarea>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label"></label>
              <div class="layui-input-inline" style="width:auto">
                <input type="text" name="paper" autocomplete="off" placehoder="附件仅支持word文档" class="layui-input" disabled style="width:400px;display:inline;">
                <a id="rstFile" class="layui-btn" style="margin-left:10px;">上传附件</a>
              </div>
            </div>
          </form>
          <p style="text-align:center;"><a id="saveTask" class="layui-btn" style="margin-left:10px;">保存</a>
          <a class="layui-btn toTaskList" style="margin-left:10px;">返回</a></p>
        </div>











        <div id="taskList" class="">
          <div id="taskMenu" style="display:none">
            <span class="title" style="font-size:24px;">报名列表</span>
            <a class="layui-btn toTeacherList layui-btn-normal" style="float:right;">审核注册</a>
            <a class="layui-btn toLessonList layui-btn-normal" style="float:right; margin-right:10px;">管理场次</a>
          </div>
          <table class="layui-table">
            <colgroup>
              <col width="190"><col width="260"><col width="250"><col width="260"><col width="260"><col width="260"><col width="150"><col width="160">
            </colgroup>
            <thead>
              <tr><th>姓名
                <div class="layui-inline">
                  <div class="layui-input-inline">
                    <input name="name" style="width:80px;" autocomplete="off" class="layui-input">
                  </div>
                </div>
              </th><th>年级
                <form class="layui-form tableForm" action="">
                  <div class="layui-input-inline">
                    <select name="grade" class="gradeSelect">
                      <option value="" selected>全部</option>
                    </select>
                  </div>
                </form>
              </th><th>科目
                <form class="layui-form tableForm" action="" style="max-width:70px;">
                  <div class="layui-input-inline">
                    <select name="course" class="courseSelect">
                      <option value="" selected>全部</option>
                    </select>
                  </div>
                </form>
              </th><th>报名时间
                <div class="layui-input-inline">
                  <input type="text" name="date" id="date" lay-verify="date" placeholder="请选择日期范围" style="width:172px;" autocomplete="off" class="layui-input">
                </div>
              </th><th>课程时间
                <div class="layui-input-inline">
                  <input type="text" name="cdate" id="cdate" lay-verify="date" placeholder="请选择日期范围" style="width:172px;" autocomplete="off" class="layui-input">
                </div>
              </th><th>状态
                <form class="layui-form tableForm" action="">
                  <div class="layui-input-inline">
                    <select name="status" class="statusSelect">
                      <option value="" selected>全部</option>
                      <option value="1">未领取</option><option value="2">已领取</option><option value="3">已完成</option>
                    </select>
                  </div>
                </form>
              </th><th>操作人
                <!-- <form class="layui-form tableForm" action="" style="max-width:50px;">
                  <div class="layui-input-inline">
                    <select name="course" class="courseSelect">
                      <option value="" selected>全部</option>
                    </select>
                  </div>
                </form> -->
              </th><th>操作<a id="filterTask" class="layui-btn layui-btn-small" style="margin-left:10px;">筛选</a></th></tr>
            </thead>
            <tbody>
            </tbody>
          </table>
          <div id="taskListPage"></div>
        </div>

        <div id="lessonList">
          <div>
            <span class="title" style="font-size:24px;">管理场次</span>
            <a id="downloadExcel" class="layui-btn" style="margin-left:10px;">下载模板</a>
            <a id="lessonImport" class="layui-btn" style="margin-left:10px;">导入场次</a>
            <a class="layui-btn toTeacherList layui-btn-normal" style="float:right;">审核注册</a>
            <a class="layui-btn toTaskList layui-btn-normal" style="float:right; margin-right:10px;">报名列表</a>
          </div>
          <table class="layui-table">
            <colgroup>
              <col width="60"><col width="90"><col width="130">
              <col width="120"><col width="160"><col width="90"><col width="110">
            </colgroup>
            <thead>
              <tr>
                <th>场次名称<div class="layui-inline">
                    <div class="layui-input-inline">
                      <input name="keywords" style="width:125px;" autocomplete="off" class="layui-input" placeholder="请输入场次名称">
                    </div>
                </div></th>
                <th>时间
                  <div class="layui-input-inline">
                    <input type="text" name="date" id="lessonDate" lay-verify="date" placeholder="请选择日期范围" style="width:172px;" autocomplete="off" class="layui-input">
                  </div>
                </th>
                <th>年级
                <form class="layui-form tableForm" action="">
                  <div class="layui-input-inline">
                    <select name="grade" class="gradeSelect">
                      <option value="" selected>全部</option>
                    </select>
                  </div>
                </form>
              </th><th>科目
                <form class="layui-form tableForm" action="" style="max-width:70px;">
                  <div class="layui-input-inline">
                    <select name="course" class="courseSelect">
                      <option value="" selected>全部</option>
                    </select>
                  </div>
                </form>
              </th>
              <!-- <th>老师

              </th> -->
              <th>名额 | 报名人数</th>
              <!-- <th>状态
                <form class="layui-form tableForm" action="">
                  <div class="layui-input-inline">
                    <select name="status" class="statusSelect">
                      <option value="" selected>全部</option>
                      <option value="1">待审核</option><option value="2">已通过</option>
                    </select>
                  </div>
                </form>
              </th> -->
              <th>操作
                <a id="filterLesson" class="layui-btn layui-btn-small" style="margin-left:10px;">筛选</a>
              </th></tr>
            </thead>
            <tbody>
              <!-- <tr>
                <th>六年级</th>
                <th>数学</th>
                <th>待审核</th>
                <th data-id="1"><a class="passBtn layui-btn layui-btn-small">通过</a><a class="refuseBtn layui-btn layui-btn-small">不通过</a></th>
              </tr> -->
            </tbody>
          </table>
          <div id="lessonListPage"></div>
        </div>
        <div id="editLesson">
          <form class="layui-form" action="">
            <div class="layui-form-item">
              <label class="layui-form-label">时间范围</label>
              <div class="layui-input-block">
                <input type="text" name="date" id="lessonTime" placeholder="请选择时间范围" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">年级</label>
              <div class="layui-input-inline">
                <select name="grade" class="gradeSelect" lay-filter="editLesson">
                  <option value="">请选择</option>
                </select>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">科目</label>
              <div class="layui-input-inline">
                <select name="course" class="courseSelect" lay-filter="editLesson">
                  <option value="">请选择</option>
                </select>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">名额</label>
              <div class="layui-input-inline">
                <input type="number" min=0 name="number" placeholder="请输入报名名额" autocomplete="off" class="layui-input">
              </div>
            </div>
            <!-- <div class="layui-form-item">
              <label class="layui-form-label">老师</label>
              <div class="layui-input-inline">
                <select name="teacher" class="teacherSelect" lay-filter="editLesson" lay-search>
                  <option value="">输入老师姓名筛选后再选择</option>
                </select>
              </div>
              <a class="layui-btn searchTeacher">筛选</a>
            </div> -->
          </form>
          <p style="text-align:center;"><a id="saveLesson" class="layui-btn">保存</a><a class="layui-btn toLessonList layui-btn-primary">返回</a></p>
        </div>

        <div id="teacherList" class="">
          <div><span class="title" style="font-size:24px;">审核注册</span>
            <a class="layui-btn toLessonList layui-btn-normal" style="float:right;">管理场次</a>
            <a class="layui-btn toTaskList layui-btn-normal" style="float:right; margin-right:10px;">报名列表</a>
          </div>
          <table class="layui-table">
            <colgroup>
              <col width="50"><col width="50"><col width="120"><col width="110"><col width="120"><col width="200">
            </colgroup>
            <thead>
              <tr><th>姓名
                <!-- <div class="layui-inline">
                  <div class="layui-input-inline">
                    <input name="name" style="width:80px;" autocomplete="off" class="layui-input">
                  </div>
                </div> -->
              </th><th>帐号
                <!-- <div class="layui-inline">
                  <div class="layui-input-inline">
                    <input name="username" style="width:80px;" autocomplete="off" class="layui-input">
                  </div>
                </div> -->
              </th><th>年级
                <form class="layui-form tableForm" action="">
                  <div class="layui-input-inline">
                    <select name="grade" class="gradeSelect">
                      <option value="" selected>全部</option>
                    </select>
                  </div>
                </form>
              </th><th>科目
                <form class="layui-form tableForm" action="" style="max-width:70px;">
                  <div class="layui-input-inline">
                    <select name="course" class="courseSelect">
                      <option value="" selected>全部</option>
                    </select>
                  </div>
                </form>
              </th><th>状态
                <form class="layui-form tableForm" action="">
                  <div class="layui-input-inline">
                    <select name="status" class="statusSelect">
                      <option value="" selected>全部</option>
                      <option value="1">待审核</option><option value="2">已通过</option>
                      <!-- <option value="3">已拒绝</option> -->
                    </select>
                  </div>
                </form>
              </th><th>操作
                <div class="layui-inline">
                  <div class="layui-input-inline">
                    <input name="keywords" style="width:125px;" autocomplete="off" class="layui-input" placeholder="请输入账号或姓名">
                  </div>
                </div>
                <a id="filterTeacher" class="layui-btn layui-btn-small" style="margin-left:10px;">筛选</a></th></tr>
            </thead>
            <tbody>
              <!-- <tr>
                <th>好好</th>
                <th>18825053886</th>
                <th>六年级</th>
                <th>数学</th>
                <th>待审核</th>
                <th data-id="1"><a class="passBtn layui-btn layui-btn-small">通过</a><a class="refuseBtn layui-btn layui-btn-small">不通过</a></th>
              </tr> -->
            </tbody>
          </table>
          <div id="teacherListPage"></div>
        </div>
      </div>
    </div>
    <div id="login" class="login">
      <p class="title" id="title">线上诊断系统后台</p>
      <form class="layui-form" action="">
        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">账号</label>
            <div class="layui-input-inline">
              <input type="tel" name="phone" lay-verify="phone" placeholder="请输入手机号" autocomplete="off" class="layui-input">
            </div>
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-inline">
              <input type="password" name="password" lay-verify="pass" placeholder="请输入密码" autocomplete="off" class="layui-input">
            </div>
          </div>
        </div>
        <a id="confirmLogin" class="layui-btn">登录</a><a id="toRegister" class="layui-btn layui-btn-primary">注册</a>
      </form>
    </div>
    <div id="register" class="register">
      <p class="title" id="title">线上诊断系统后台</p>
      <form class="layui-form" action="">
        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">手机</label>
            <div class="layui-input-inline">
              <input type="tel" name="phone" lay-verify="phone" placeholder="请输入手机号" autocomplete="off" class="layui-input">
            </div>
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
              <input type="text" name="code" lay-verify="required|number" placeholder="请输入验证码" autocomplete="off" class="layui-input code">
              <a id="getCode" class="layui-btn">获取验证码</a>
              <span id="second"><i>60</i> 秒后重新获取</span>
            </div>
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-inline">
              <input type="password" name="password" lay-verify="pass" placeholder="请输入密码" autocomplete="off" class="layui-input">
            </div>
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-inline">
              <input type="text" name="realname" lay-verify="required" placeholder="请输入姓名" autocomplete="off" class="layui-input">
            </div>
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">年级</label>
          <div class="layui-input-inline">
            <select name="grade" class="gradeSelect">
              <option value="" selected>全部</option>
            </select>
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">科目</label>
          <div class="layui-input-inline">
            <select name="course" class="courseSelect">
              <option value="" selected>全部</option>
            </select>
          </div>
        </div>
        <a id="confirmRegister" class="layui-btn">注册</a><a id="toLogin" class="layui-btn layui-btn-primary">登录</a>
      </form>
    </div>
  </div>
</body>
<script type="text/javascript">
  window.app = {};
  app.dynamicLoadingJs=function(e,d){var c=document.createElement("script");var b=document.getElementsByTagName("head")[0];c.src=e;if(typeof d==="function"){var a;c.onload=c.onreadystatechange=function(){if(!a&&(!c.readyState||/loaded|complete/.test(c.readyState))){c.onload=c.onreadystatechange=null;a=true;d()}}}b.appendChild(c)};
  app.dynamicLoadingCss=function(h,i){var j=document.createElement("link");var f=document.getElementsByTagName("head")[0];j.href=h;j.rel="stylesheet";j.type="text/css";if(typeof i==="function"){var g;j.onload=j.onreadystatechange=function(){if(!g&&(!j.readyState||/loaded|complete/.test(j.readyState))){j.onload=j.onreadystatechange=null;g=true;i()}}}f.appendChild(j)};

  app.resPath = 'http://cdn.gzpeiyou.com/single/';
  app.libPath = 'http://cdn.gzpeiyou.com/lib/';
  app.isLocal = location.href.indexOf('single/diagnosis')>-1 || location.href.indexOf('localhost')>-1;
  if(app.isLocal){
    app.resPath = '../view/dist/';
  }

  app.dynamicLoadingCss(app.libPath+'layui/css/layui.css');
  app.dynamicLoadingJs(app.libPath+'layui/layui.js',function(){
    app.dynamicLoadingJs(app.resPath+'js/diagnostic/init.js?bust='+new Date().getTime());
  });

</script>
</html>
